package com.front.managementfront.company.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;

import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author yck
 * @since 2021-05-20
 */
@ApiModel(description = "公司信息")
public class Company extends Model<Company> {

private static final long serialVersionUID=1L;

        private String id;
        private Integer delFlag;
        private String name;
        private String userId;


    public String getId(){
            return id;
            }

        public void setId(String id) {
            this.id = id;
            }



    public Integer getDelFlag(){
            return delFlag;
            }

        public void setDelFlag(Integer delFlag) {
            this.delFlag = delFlag;
            }


    public String getName(){
            return name;
            }

        public void setName(String name) {
            this.name = name;
            }

    public String getUserId(){
            return userId;
            }

        public void setUserId(String userId) {
            this.userId = userId;
            }

    public static final String ID ="id";

    public static final String DEL_FLAG ="del_flag";

    public static final String NAME ="name";

    public static final String USER_ID ="user_id";

@Override
protected Serializable pkVal(){
            return this.id;
        }

@Override
public String toString() {
        return "Company{" +
                ", id=" + id +
                ", delFlag=" + delFlag +
                ", name=" + name +
                ", userId=" + userId +
        "}";
        }
        }
